<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'deviceList.jsp' starting page</title>  
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--框架必需start-->
	<script type="text/javascript" src="ui/js/jquery.js"></script>
	<script type="text/javascript" src="ui/js/framework.js"></script>
	<link href="ui/css/import_basic.css" rel="stylesheet" type="text/css"/>
	<link rel="stylesheet" type="text/css" id="skin" prePath="/"/>
	<link rel="stylesheet" type="text/css" id="customSkin"/>
	<link href="ui/skins/blue/style.css" rel="stylesheet" type="text/css" id="theme" themeColor="blue"/>
	<!--框架必需end-->	
	<!--去除虚线链接start-->
	<style>
	a {
		behavior:url(ui/js/method/focus.htc)
	}
	</style>
	<!--去除虚线链接end-->
	</head>
	<body>
	<div id="scrollContent">
	<table width="100%">
		<tr>
			<td width="100" class="ver01">
			<div class="singleNavMin">		
				<s:iterator value="domainList" var="dl" status="status">
					<s:if test="#status.first" >
						<div class="current"><span><a href="<%=path %>/getDevice.action?dmId=<s:property value="#dl.dmId"/>" target="frmrightChild" style="font-size: 12;"><s:property value="#dl.dmName"/></a></span></div>
					</s:if>
					<s:else>
						<div><span><a href="<%=path %>/getDevice.action?dmId=<s:property value="#dl.dmId"/>" target="frmrightChild" style="font-size: 12;"><s:property value="#dl.dmName"/> </a></span></div>
					</s:else>
				</s:iterator>
			</div>
			</td>
			<td class="ver01"><br>
			<div class="box1">
				<div class="cusBoxContent" style="overflow-y:auto;overflow-x:hidden;height: 400px;">
					<IFRAME scrolling="no" width="100%" frameBorder="0" id="frmrightChild" name="frmrightChild" onload="iframeHeight('frmrightChild')" 
						src="sample/table/deviceList.jsp" allowTransparency="true"></IFRAME>
				</div>
			</div>
			<br></td>
		</tr>
	</table>
	</div>	
	<script type="text/javascript">
		function customHeightSet(){
			$(".cusBoxContent").height($("#scrollContent").height()-50);
		}
	</script>
  </body>
</html>
